package com.own.business.question.entity.query;

import com.own.component.common.base.entity.BaseQuery;
import com.own.constant.ConstantBeanSuffix;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * PracticeMistakeQuery
 *
 * @author 陈学礼 （你是一段成熟的代码，要学会自己改bug）
 * @version 4.0.0
 * @date 2021/05/14 15:49:28
 * @since 4.0.0
 */
@Schema(description = "练习错题表" + ConstantBeanSuffix.QUERY)
@Getter
@Setter
@ToString
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class PracticeMistakeQuery extends BaseQuery {

    @Schema(description = "用户id")
    private Long userId;

    @Schema(description = "流水id")
    private Long historyId;

    @Schema(description = "题目id")
    private Long questionId;

    @Schema(description = "用户答案")
    private String answer;

    @Schema(description = "作答环境")
    private Integer replyEnvironment;

    @Schema(description = "标记状态 0=未记住 1=已记住")
    private Integer status;

}
